package uploadfiletoserver;

public class FileSend implements Runnable{
    private Server server;
    private String fileToSend;
    public FileSend(Server server, String fileToSend){
        this.server = server;
        this.fileToSend = fileToSend;
    }
    public FileSend(){

    }
    @Override
    public void run() {
        System.out.println("文件 " + fileToSend + " 已成功发送到服务器 " + server.getAddress());
    }
}
